export interface ResponseData {
  code: number
  message: string
  ok: boolean
}

//已有分类的ts数据类型
export interface Category {
  id?: number
  name: string
  image: string
  description: string
}

export type Records = Category[]

export interface CategoryResponseData extends ResponseData {
  data: Records
}